begintalkscript;

variables;
short leadchar,bmessage;
string custom_m;

begintalknode 1;
	state = -1;
	nextstate = 1;
	question = "Hunter";
	text1 = "Hunter is sitting here patiently with her arms folded and a sneer on her face.  She seems to have made a full recovery from when we last met.";
	text2 = "Her name, though-- it sounds familiar.  But why?";
	code = 
		if(get_flag(72,0) > 2)
			remove_string(3);
break;

begintalknode 2;
	state = 1;
	nextstate = -1;
	condition = get_flag(85,0) < 2;
	question = "Hey!";
	text1 = "Hunter is ignoring me.  Maybe I'm supposed to enter the room first.";
	text2 = "Hunter is ignoring us.  Maybe we're supposed to enter the room first.";
	action = END_TALK;
	code = 
		if(party_size() == 1)
			remove_string(2);
		else
			remove_string(1);
break;

begintalknode 3;
	state = 1;
	nextstate = -1;
	condition = (get_flag(85,0) == 2) && (get_flag(72,0) < 2);
	question = "Hunter...  your name sounds familiar.";
	text1 = "She shakes her head dejectedly.  _Yes, yes.  I'm the one you're thinking of-- former Provincial Governor of Ivalice, the one who singlehandedly wiped out the Ratbane Revival, Valorim's sole hero, et cetera._";
	text2 = "So that's it!  She's THAT Hunter!  This is unusual indeed.  She's pretty popular among some higher-echelon figures.";
	code = 
		set_flag(72,0,2);
break;

begintalknode 4;
	state = 1;
	nextstate = -1;
	condition = (get_flag(85,0) == 2) && (get_flag(72,0) == 2);
	question = "What are you doing here?";
	text1 = "_Well, Katothen-- or rather, Katothen as Janus-- gave me this odd-looking pendant.  I never thought anything of it until I got maimed badly one day, and it took me to Sanctuary._";
	text2 = "_But that's old news.  I'm here to tell you about some important things._";
	code = 
		set_flag(72,0,3);
break;

begintalknode 5;
	state = 1;
	nextstate = -1;
	condition = (get_flag(85,0) == 2) && (get_flag(72,0) == 3);
	question = "What do you want to talk about?";
	text1 = "_Well, first off, let me tell you this much-- Footracer is dead.  He's no longer alive._";
	text2 = "(That much is obvious, though.  Footracer was found guilty by a military court and sentenced to death.  What is she getting at?)";
	code = 
		set_flag(72,0,4);
break;

begintalknode 6;
	state = 1;
	nextstate = -1;
	condition = (get_flag(85,0) == 2) && (get_flag(72,0) == 4);
	question = "What's this about Footracer, now?";
	text1 = "_Yeah, yeah.  I know.  You think I'm crazy...  Well, take what you know and stuff it.  I'm telling you now, Footracer is alive and well.  Or at least, he was._";
	text2 = "_And then, I killed that bastard!  I didn't even know it at the time myself.  But yeah, he wasn't dead.  Now he is._";
	text3 = "_Before he died, though, he was in charge of the very same Ratbane Revival I put the kibosh on.  Yeah-- I killed him while he was actively scheming against the Empire!  Can you believe it?_";
	text4 = "Not really...";
	code = 
		set_flag(72,0,5);
break;

begintalknode 7;
	state = 1;
	nextstate = -1;
	condition = (get_flag(85,0) == 2) && (get_flag(72,0) == 5);
	question = "Wait, why the hell was Footracer leading the nephils now?";
	text1 = "_There were enough troops in Kalzas to have nipped that whole rebellion in the bud.  Reports show that Duke Eubans was not only aware of but responsible for the nephilim to congregate at Ivalice._";
	text2 = "_And Eubans?  Just an alter-ego of Footracer himself, using his connections with Stewart to put him in a position of power.  Consider:  General Footracer was declared deceased shortly after the Duke went 'missing'._";
	code = 
		set_flag(72,0,6);
break;

begintalknode 8;
	state = 1;
	nextstate = -1;
	condition = (get_flag(85,0) == 2) && (get_flag(72,0) == 6);
	question = "You know, Katothen said that a 'rakshasa' was behind Ivalice's troubles.";
	text1 = "Her face twists into a scowl and she spits at the floor.  _Yes!  His name is Sabertooth, damn him to hell!_";
	text2 = "_Yes, Sabertooth the rakshasa was responsible for what went on in Ivalice.  But I thought Footracer was attempting to garner more troops as Duke Eubans.  I thought him and Sabertooth were working together._";
	text3 = "_As it turns out, I wasn't wrong either, but this conspiracy goes even deeper than that._";
	code = 
		set_flag(72,0,7);
break;

begintalknode 9;
	state = 1;
	nextstate = -1;
	condition = (get_flag(85,0) == 2) && ((get_flag(72,0) == 7) || (get_flag(72,0) == 8));
	question = "Hunter, how deep does your conspiracy go?";
	text1 = "_The original tactic of the Ratbane Revival was to scare Stewart I and then-General Field Marshall Abidan into putting more troops under Footracer's direct control._";
	text2 = "_But if I killed Footracer, then the next move Sabertooth or another rakshasa--_ She spits. _--would make wouldn't be so intensely similar to the Ratbane Revival in form._";
	text3 = "_The answer is, there's a mole in the Empire.  Someone who is either a rakshasa or has connections to a rakshasa has to be vying for power here._";
	text4 = "_What I suspect is that these brigands are being raised to scare the Emperor into giving this mole more power._";
	code = 
		set_flag(72,0,8);
		set_flag(85,0,3);
break;

begintalknode 10;
	state = 1;
	nextstate = -1;
	condition = get_flag(85,0) == 3;
	question = "So what did you and Katothen find out?";
	text1 = "_Well, Katothen has been strongly suspicious of the actions of the military up to this point.  Needless to say, what I said verified his fears._";
	text2 = "_Plus, he came to the conclusion that Abidan may not have been killed merely to allow the other generals to afford the rakshasic instigator more power._";
	text3 = "_Abidan was General Field Marshall, like Footracer and Ward Sigurd.  Ward Sigurd is the commander of the Imperator's Guard, personal guardians of Emperor Stewart I, so his actual power is limited in practice._";
	text4 = "_What I'm getting at is, Katothen and I agree-- one of the generals is attempting to seize the military.  Footracer was too powerful of an ally for Sabertooth to have thrown away if he still had the ear of the Emperor._";
	code = 
		set_flag(85,0,4);
break;

begintalknode 11;
	state = 1;
	nextstate = -1;
	condition = get_flag(85,0) == 4;
	question = "Who are the generals?";
	text1 = "_I'm glad you asked.  Katothen was watching your progress, but he could not see the identity of your assailant.  I'm not sure why, but all he saw of 'The Immortal' was a giant, red blur.  So I'll simply describe the generals to you:_";
	text2 = "_Militades Ormond is a man dressed in a flaming decor.  He's a recent appointment, but he has shown nothing but promise.  It's said that fire spews out of his sword._";
	text3 = "_There's Astrophel Ignatius, who is particularly odd-looking.  He wears long, red robes, and carries a censer with him.  Again, I don't know how he fights, but he rarely speaks._";
	text4 = "Fire came out of The Immortal's bow, but not his sword.  Close, but no dice.";
	code = 
		set_flag(85,0,5);
break;

begintalknode 12;
	state = 1;
	nextstate = -1;
	condition = get_flag(85,0) == 5;
	question = "Nope, neither of them.  Go on.";
	text1 = "_Well, I doubt it's Ward Sigurd, but he is a fairly stout man who carries a gleaming edge sword with him at all times.  He's heavily armed and fiercely loyal._";
	text2 = "_Then, there's Hildebert Cathair, a man who will leap into any situation headfirst.  What does he look like?  Well, he's fairly thin, but well armed.  His fighting style resembles fencing more than anything else._";
	code = 
		set_flag(85,0,6);
break;

begintalknode 13;
	state = 1;
	nextstate = -1;
	condition = get_flag(85,0) == 6;
	question = "Not them either.";
	text1 = "_Well, that only leaves two left, so it has to be one of them.  Either that, or The Immortal was using an illusion with you._";
	text2 = "_Edith Valencia is an amazon.  She's a sniper of no small renown, and she's also viciously efficient with a knife in her hands.  She's lithe, persistent, and loyal.  She's fairly young, but incredibly competent tactically._";
	text3 = "_And then, there's Rufus Rothgard.  He's also a sniper, big and strong with a huge suit of armor.  He has red hair that he has cut close to his head, and has had harsh words for Footracer in his absence.  He's a real zealot, that one._";
	text4 = "_...well.  The look on your face is telling me that I nailed it._";
	code = 
		set_flag(85,0,7);
break;

begintalknode 14;
	state = 1;
	nextstate = -1;
	condition = get_flag(85,0) == 7;
	question = "It's General Rothgard!  Him for sure.";
	text1 = "_Rothgard...  Shit.  It's him, you say?  Not a doubt in your mind?_";
	text2 = "It's not like Hunter doesn't believe it, just more that she doesn't want to believe it.";
	code = 
		set_flag(85,0,8);
break;

begintalknode 15;
	state = 1;
	nextstate = -1;
	condition = get_flag(85,0) == 8;
	question = "No doubt about it.  Why?";
	text1 = "_Goddamn it.  That's horrible.  He's been currying the most favor out of everyone since Footracer's death.  I mean, Ignatius and Ormond have been acting fairly strangely, and I was hoping..._";
	text2 = "_Damn.  Shit!  He's young, but he's powerful.  Rufus Rothgard...  The Immortal...  He must be the one who is behind all of the scheming.  This is not good.  Not good at all._";
	text3 = "_Anyway, General Rothgard is distracted for now since all of the generals have been called for a meeting.  What that effectively means is that he can't stick around to monitor his operation._";
	text4 = "_Which then brings me, regrettably, to Katothen's orders._";
	code = 
		set_flag(85,0,9);
break;

begintalknode 16;
	state = 1;
	nextstate = -1;
	condition = get_flag(85,0) == 9;
	question = "What are his orders?";
	text1 = "_He wants you to go to the docks you found earlier and steal a boat.  He can't teleport you into the brigand territory here because of a 'teleportation shield' or something.  Whatever._";
	text2 = "_Katothen says that you're going to have to take the boat and get to some docks on the other side of the river yourself.  It sucks, but, well...  live with it._";
	text3 = "_He says that he'll be able to talk with you again by the time you get there, but he expects to be busy dealing with things in the capitol, Solaria, for some time._";
	text4 = "_Do you understand?_";
	code = 
		toggle_quest(3,1);
		set_flag(85,0,10);
break;

begintalknode 17;
	state = 1;
	nextstate = -1;
	condition = get_flag(85,0) == 10;
	question = "Has Katothen left any boons behind?";
	text1 = "Hunter shrugs.  _Who knows?  All he told me was what to tell you, and that didn't much involve any free handouts.  Anyway, he seemed pretty confident that you could do this yourself._";
	text2 = "_I would be going myself, maybe even with you, but I was told to stay here in case I was needed.  Apparently, I've become political currency for the time being._";
	text3 = "_So...  yeah.  Get going, I guess._";

